home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
207.233.110.77
/
207.233.110.77.tar
/
207.233.110.77
/
web29
/
Tutorial 5
/
Case 3
/
dtable.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2011-03-28
|
1KB
|
33 lines
/*
New Perspectives on HTML and XHTML 5th Edition
Tutorial 5
Case Problem 3
Dome Table Style Sheet
Author: Richard Thomson
Date: 28 Mar 2011
Filename: dtable.css
Supporting Files: bottom.jpg, bottomleft.jpg, bottomright.jpg, left.jpg,
right.jpg, tableback.jpg, top.jpg, topleft.jpg, topright.jpg
*/
table {float: right; font-size: 12px; margin: 0px 0px 10px 20px; border-collapse: collapse;
background: url(tableback.jpg) no-repeat; background-position: 98%, 70%}
table caption {font-size: 16px; letter-spacing: 5px; text-align: center;}
table col.firstColumn {width: 22%; background: url(left.jpg) repeat-y; background-position: left}
table col.middleColumns {width: 28%; background: url(blank.gif) repeat}
table col.lastColumn {width: 22%; background: url(right.jpg) repeat-y; background-position: right}
thead {border-bottom: 2px solid gray; background: url(top.jpg) repeat-x; background-position: top}
tfoot {border-top: 2px solid gray}
tbody tr {border: 1px dotted gray}
table td {padding: 0px 5px 0px 5px;}
table tr {height: 30px}
table th {letter-spacing: 2px}
#topleft {background: url(topleft.jpg) no-repeat}
#topright {background: url(topright.jpg) no-repeat}
#bottomleft {background: url(bottomleft.jpg) no-repeat}
#bottomright {background: url(bottomright.jpg) no-repeat}